<?php
/*$age=array("Bill"=>"35","Steve"=>"37","Peter"=>"43");

foreach ($age as $x=>$x_value){
    echo "Key=" . $x .", Value=" . $x_value;
    echo "<br>";
}*/


//第二份
/*$numbers=array(3,5,1,22,11);
sort($numbers);

$arrlength=count($numbers);
for($x=0;$x<$arrlength;$x++)
{
    echo $numbers[$x];
    echo "<br>";
}*/

//第三份
/*function familyName($fname)
{
    echo "$fname Zhang.<br>";
}
    familyName("你好");
    familyName("不好");
    familyName("很好");
    familyName("很不好");*/

/*function myTect(){
    static $x=0;
    echo $x;
    $x++;
}

myTest();
echo "<br>";
myTest();
echo "<br>";
myTest();
echo "<br>";
myTest();
echo "<br>";
myTest();*/


echo "<h2>PHP PHP PHP</h2>";
echo "你好啊<br>";
echo "PHP PHP<br>";
echo "不","呵呵","很好";
?>